package io.renren.modules.cards.service.impl;

import io.renren.modules.cards.dao.AmgCdkTasksDao;
import io.renren.modules.cards.entity.AmgCdkTasksEntity;
import io.renren.modules.cards.service.AmgCdkTasksService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;



@Service("amgCdkTasksService")
public class AmgCdkTasksServiceImpl extends ServiceImpl<AmgCdkTasksDao, AmgCdkTasksEntity> implements AmgCdkTasksService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<AmgCdkTasksEntity> page = this.selectPage(
                new Query<AmgCdkTasksEntity>(params).getPage(),
                new EntityWrapper<AmgCdkTasksEntity>()
        );

        return new PageUtils(page);
    }

}
